Skip to content

[PWGCF] normalisation by hadrons added#15458

Merged
wenyaCern merged 3 commits intoAliceO2Group:masterfrom
MaximVirta:V02
Mar 19, 2026
Merged

[PWGCF] normalisation by hadrons added#15458
wenyaCern merged 3 commits intoAliceO2Group:masterfrom
MaximVirta:V02

Conversation

@MaximVirta
Copy link
Contributor

@MaximVirta MaximVirta commented Mar 19, 2026

Added a configurable flag for pt spectra normalisation by hadrons or PID.
Applied Vit's comments from #15426

Please consider the following formatting changes to AliceO2Group#15458
pidStates.itsNsigmaCut[iPionLow] = nSigmas->getData()[iPionLow][kITS];
pidStates.itsNsigmaCut[iKaonLow] = nSigmas->getData()[iKaonLow][kITS];
pidStates.itsNsigmaCut[iProtonLow] = nSigmas->getData()[iProtonLow][kITS];
pidStates.tpcNsigmaCut[IndPionUp] = nSigmas->getData()[IndPionUp][kTPC];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like you could just loop over these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right. I will consider this in the next iteration.

@MaximVirta
Copy link
Contributor Author

Could this be merged, please?

@wenyaCern wenyaCern merged commit 8430c12 into AliceO2Group:master Mar 19, 2026
14 checks passed
scannito pushed a commit to scannito/O2Physics that referenced this pull request Mar 20, 2026
Co-authored-by: MaximVirta <maxim.m.o.virta@jyu.fi>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants